﻿using FriendAnalyzer.Infrastructure.Facebook.Model.Enums;
using System.Collections.Generic;
using System.Diagnostics;

namespace FriendAnalyzer.Infrastructure.Facebook.Model
{
    [DebuggerDisplay("{UserID} ({FirstName} {LastName})")]
    public class FacebookUser
    {
        public ulong UserID { get; set; }
        public string FirstName { get; set; }
        public string LastName { get; set; }
        public string PictureUrl { get; set; }
        private Gender? _gender;
        public Gender? Gender 
        {
            get 
            {
                return _gender ?? Enums.Gender.Unknown;
            }
            set
            {
                _gender = value;
            }
        }

        public List<FacebookLike> Likes { get; set; }
        public List<FacebookEvent> Events { get; set; }
        public List<FacebookGroup> Groups { get; set; }
        public List<FacebookCheckin> CheckIns { get; set; }
    }
}